package messagesvc.request.record;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import java.util.Map;
import lombok.Data;

@ApiModel(value = "发送消息请求")
@Data
public class SendRequest {

  @ApiModelProperty(value = "接收人【支持批量】", example = "xxx")
  private List<String> receiver;

  @ApiModelProperty(value = "纯文本时", example = "xxx")
  private String content;

  @ApiModelProperty(value = "模板ID", example = "xxx")
  private String template;

  @ApiModelProperty(value = "开启广播", example = "xxx", notes = "开启广播后，只会发送给订阅方。指定接收人无效")
  private boolean wide;

  @ApiModelProperty(value = "参数", example = "xxx")
  private Map<String, String> params;

}
